package com.thb.pay.core.annotation;

import com.thb.pay.core.enums.Action;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PermissionRequired {

    String value();//权限

    Action requrid() default Action.Normal;//默认校验 注解上了就要强制校验

    String remark() default "";//备注
}